/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-07-07 10:38:10
 * @LastEditTime: 2024-07-07 15:10:16
 * @FilePath: /nest_study/web/src/views/system/dict/index.type.ts
 */
import { TPagination } from "@/api/index.type"
//字典类型
export type TDicTypeInfo = {
    id?: number
    sort: number
    remark:string
} & TDictTypeSearch;

export type TDictTypeSearch = {
    name: string
    code: string
    status: string | undefined
} & TPagination

//字典数据
export type TDictDataInfo = {
    id?:number
    parent:string
    label:string
    value:string
    class:string
    sort?:number
    remark:string
} & TDictDataSearch;

export type TDictDataSearch = {
    parent:string
    label: string
    status: string | undefined
} & TPagination